using System;
using System.Collections.Generic;
using System.Text;
using emp.Model;
using emp.IDAL;
using System.Collections;

namespace emp.BLL
{
    public class CellExp
    {
        //public System.Data.DataSet getCellTMExport(string sqlselect)
        //{
        //    // Get an instance of the account DAL using the DALFactory
        //    ICellExp dal = DALFactory.CellExp.Create();
        //    // Send the udpated account information to the DAL
        //    return dal.getCellTMExport(sqlselect);

        //}

        //public System.Data.DataSet getCellCOExport(string SAP_Tactic_Code, string SAP_Tactic_Name, string sqlselect)
        //{
        //    // Get an instance of the account DAL using the DALFactory
        //    ICellExp dal = DALFactory.CellExp.Create();
        //    // Send the udpated account information to the DAL
        //    return dal.getCellCOExport(SAP_Tactic_Code, SAP_Tactic_Name,sqlselect);

        //}

        //public System.Data.DataSet getCellExpListDS()
        //{
        //    // Get an instance of the account DAL using the DALFactory
        //    ICellExp dal = DALFactory.CellExp.Create();
        //    // Send the udpated account information to the DAL
        //    return dal.getCellExpListDS();

        //}

        public void QueExport(int tactic_id,string sqlselect)
        {
            // Get an instance of the account DAL using the DALFactory
            ICellExp dal = DALFactory.CellExp.Create();
            // Send the udpated account information to the DAL
            dal.QueExport(tactic_id, sqlselect);

        }


        public CellExpInfo getCellExpInfo(int contact_id)
        {
            // Get an instance of the account DAL using the DALFactory
            ICellExp dal = DALFactory.CellExp.Create();
            // Send the udpated account information to the DAL
            return dal.getCellExpInfo(contact_id);

        }
    }
}
